Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI script: use jq to filter and output final format; ensure default target dir #325

Merged
merged 11 commits into from
Aug 29, 2024

Conversation

spookyvision
Copy link
Contributor

@spookyvision spookyvision commented Aug 10, 2024

this PR uses jq's (admittedly quite weird) builtin capabilities to create a list of crates to build docs for, instead of the previous grep/cut/sed/tr pipe.
It also unsets $CARGO_TARGET_DIR to ensure build products will reside in ./target.

Copy link
Contributor

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't have a super strong grasp of jq, but this does seem less flaky than the previous sed/cut nonsense i wrote! thanks!

scripts/run-ci-build.sh Outdated Show resolved Hide resolved
@spookyvision spookyvision changed the title CI script: use jq to filter and output final format CI script: use jq to filter and output final format; ensure default target dir Aug 11, 2024
@spookyvision
Copy link
Contributor Author

@jamesmunns (low importance) if you feel like giving this a quick glance

@hawkw
Copy link
Contributor

hawkw commented Aug 13, 2024

I'm fine with just merging this whenever, but if you want to wait for @jamesmunns, that's fine too. I'm pretty sure the new code does the right thing...

@hawkw hawkw enabled auto-merge August 29, 2024 17:35
@hawkw hawkw added this pull request to the merge queue Aug 29, 2024
Merged via the queue into main with commit 909b964 Aug 29, 2024
11 checks passed
@hawkw hawkw deleted the rm-shell branch August 29, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants